cmake_minimum_required(VERSION 4.0)
project(QtWebViewForm)

set(CMAKE_CXX_STANDARD 20)

find_package(libuv REQUIRED)

add_executable(echo echo.cpp)
target_link_directories(echo PRIVATE e:/msys64/ucrt64/lib)
target_include_directories(echo PRIVATE e:/msys64/ucrt64/include)
target_link_libraries(echo ws2_32 mswsock)

add_executable(http_server http_server.cpp)
target_link_directories(http_server PRIVATE e:/msys64/ucrt64/lib)
target_include_directories(http_server PRIVATE e:/msys64/ucrt64/include)
target_link_libraries(http_server boost_json-mt ws2_32 mswsock)